package cn.chia.pojo;

/**
 * TblUser entity. @author MyEclipse Persistence Tools
 */

public class TblUser implements java.io.Serializable {

	// Fields

	private Integer userId;
	private TblRole tblRole;
	private String workCode;
	private String userName;
	private String password;

	// Constructors

	/** default constructor */
	public TblUser() {
	}

	/** full constructor */
	public TblUser(TblRole tblRole, String workCode, String userName,
			String password) {
		this.tblRole = tblRole;
		this.workCode = workCode;
		this.userName = userName;
		this.password = password;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public TblRole getTblRole() {
		return this.tblRole;
	}

	public void setTblRole(TblRole tblRole) {
		this.tblRole = tblRole;
	}

	public String getWorkCode() {
		return this.workCode;
	}

	public void setWorkCode(String workCode) {
		this.workCode = workCode;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}